<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<style>
	.layer_content_div {
		margin: 0px;
		width: 100%;
		height: 100%;
	}
</style>
<link href="css/blockChian.css" rel="stylesheet" />

<script id="notifyViewTmp" type="text/html">
	<div class="bc_notify">
		{{each options value ind}} {{if value != null}}

		<div onclick="BC_Notify.click({{value.index}})" class="notifyItem bc_flex_center_center bc_flex_column index_{{value.index}}" attr="{{value.index}}">
			<div class="title">{{value.title}}</div>
			<div class="msg">{{value.msg}}</div>
			<div class="actions">
				{{each value.actions action i }} {{if action.type=="loading"}}
				<img src="{{loadingImg}}" /> {{else }}
				<div class="btn btn-default" onclick="BC_Notify.options[{{value.index}}].actions[{{i}}].func()">{{action.title}}</div>
				{{/if}} {{/each}} {{if value.timeInterval!= 0}}
				<div class='timeInterval'>{{value.timeInterval}}s</div>
				{{/if}}
			</div>
		</div>
		<div class="line"></div>
		{{/if}} {{/each}}
	</div>
</script>

<script id="ApplyGameHtmlTmp" type="text/html">
	<div class="ApplyGameHtml bc_flex_column  bc_flex_center_spacearound layer_content_div">
		<div class=" form-group" style="margin: 0px;">
			<input  style="width: 100%;margin-bottom: 1rem;" class="hashId form-control" type="text" placeholder="游戏地址,0x开头" /></td>
			<div class="input-group" style="margin-bottom: 1rem;">
				<input style="width: 100%;" class="value form-control" type="text" placeholder="本次game的投注数量" />
				<div class="input-group-addon ">ETH</div>
			</div>
		</div>

		<div class="bc_flex_center_spacearound" style="width: 100%;">
			<div class="btn btn-default" onclick="AlertView.delegate.cancleSubmit(this);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;取消&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
			<div class="btn btn-default" onclick="AlertView.delegate.submitClick(this);">创建到链上</div>
		</div>
	</div>
</script>

<script id="createHtmlTmp" type="text/html">
	<div class="bc_flex_column bc_flex_center_spacearound CreateGameHtml layer_content_div">
		<div class=" form-group" style="margin: 0px;">
			<div class="input-group">
				<input type="number" class="form-control" placeholder="输入投注额(最小为0.001)">
				<div class="input-group-addon ">ETH</div>
			</div>
		</div>
		<div class="btn btn-default " style="margin-top: 1rem;">创建到链上</div>
	</div>
</script>

<script id="submitChoiceHtmlTmp">
	<div class="row text-center SubmitChoiceHtml" style="margin: 0px;">
		<div class="form-group " style="margin:0px;width:100%">
			<select class="form-control gameChoice" style="width: 200px;">
				<option value="r">石头</option>
				<option value="s">剪刀</option>
				<option value="p">布</option>
			</select>
			<br/>
			<input class="form-control bc_margin_right_05rem secretInput" style="width: 200px;" type="text" placeholder="加密secret" />
		</div>
		<div class="btn btn-default  ">创建到链上</div>
	</div>
</script>

<script id="notifyLoading" type="text/html">
	<div class="notify_loading ">
		<div class="content1 bc_flex_center_center bc_flex_column layer_content_div">
			<div class="title">
				{{title}}
			</div>
			<img src="images/loading.gif" />
		</div>
	</div>
</script>
<style>
	.SubmitChoiceHtml .form-control {
		margin-bottom: 10px;
	}
</style>
<div id="alertView">
	<div id="SubmitChoiceHtml" style="display: none;">
		<div class="bc_flex_center_center bc_flex_column layer_content_div SubmitChoiceHtml">
			<div class="form-group " style="margin:0px;width:100%">
				<select class="form-control gameChoice">
					<option value="r">石头</option>
					<option value="s">剪刀</option>
					<option value="p">布</option>
				</select>
				<input class="form-control bc_margin_right_05rem secretInput" type="text" placeholder="加密secret" />
				<div class=" btn btn-default  ">创建到链上</div>
			</div>

		</div>
	</div>
</div>